layui.use("element", function () {
  var element = layui.element;
});
layui.use('form', function () {
  var form = layui.form;
  form.on('select(AssetClass)', function (data) {
    var caseD = Number(data.value);
    switch (caseD) {
      case 0:
        window.location.href = "ZCLR.html";
        break;
      case 1:
        window.location.href = "ZCLR_FB.html";
        break;
      case 2:
        window.location.href = "ZCLR_ZQ.html";
        break;
      case 3:
        window.location.href = "ZCLR_TYCK.html";
        break;
      case 4:
        window.location.href = "ZCLR_TYCD.html";
        break;
      case 5:
        window.location.href = "ZCLR_HG.html";
        break;
    }
  });
});

var vm = new Vue({
  el: '#app',
  data: {
    field1: ["资产名称", "是否我行客户", "资产类别（中类）", "资产类别（补充）"],
    field2: ["资产代码", "资产类别（大类）", "资产类别（小类）", "统计类别"],
    field3: ["客户名称", "合同编号", "行内评级", "重点客户类型", "是否重点授权客户", "四部委标准企业规模等级", "行业类型代码（大类）", "行业类型代码（小类）", "行业信贷政策", "平台类型", "是否两高一剩", "是否保障房", "近三年净利润为负"],
    field4: ["客户编号", "批复编号", "组织机构（社会信用）代码", "总行战略客户标识", "是否差别化授权客户", "行业类型代码（门类）", "行业类型代码（中类）", "企业出资人经济成分", "客户信贷政策", "是否属于重点监管行业和领域", "是否城乡一体化", "近三年净现金流为负"],
    AssetClass: 0  //0:请选择  1:非标准化债权类资产 ,2:债券,3:同业存款,4:同业存单,5:回购
  },
  mounted:function(){
    this.init()
  },
  methods: {
    init: function () {
      localStorage.setItem('navigation','<a href="#">首页</a><span lay-separator="">/</span><a href="">大类资产配置模型</a><span lay-separator="">/</span><a><cite>资产录入</cite></a>');
    }
  }
})